/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tixian.entity;

import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.modules.member.entity.Member;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 用户提现记录Entity
 * @author freedom
 * @version 2020-08-07
 */
public class Tixian extends DataEntity<Tixian> {
	
	private static final long serialVersionUID = 1L;
	private Member member;		// 用户
	private Double money;		// 提现金额
	private String name;		// 开户人姓名
	private String bank;		// 开户行
	private String bankno;		// 银行卡号
	private String shenhe;		// 审核状态
	private Double arrivalMoney; //用户到账金额

	//前端记录展示用    时间
	private String cashTime;

	private String examineTime;

	private Member manager;     //团队长

	private Date beginCreateDate;		// 开始 创建时间
	private Date endCreateDate;		// 结束 创建时间

	public Tixian() {
		super();
	}

	public Tixian(String id){
		super(id);
	}

	@NotNull(message="用户不能为空")
	@ExcelField(title="用户", fieldType=Member.class, value="member.loginName", align=2, sort=1)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}
	
	@NotNull(message="提现金额不能为空")
	@ExcelField(title="提现金额", align=2, sort=2)
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}
	
	@ExcelField(title="开户人姓名", align=2, sort=3)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="开户行", align=2, sort=4)
	public String getBank() {
		return bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}
	
	@ExcelField(title="银行卡号", align=2, sort=5)
	public String getBankno() {
		return bankno;
	}

	public void setBankno(String bankno) {
		this.bankno = bankno;
	}
	
	@ExcelField(title="审核状态", dictType="shenhe", align=2, sort=6)
	public String getShenhe() {
		return shenhe;
	}

	public void setShenhe(String shenhe) {
		this.shenhe = shenhe;
	}

	@ExcelField(title="申请时间", align=2, sort=7)
	public String getCashTime() {
		return cashTime;
	}

	public void setCashTime(String cashTime) {
		this.cashTime = cashTime;
	}

	@ExcelField(title="到账金额", align=2, sort=2)
	public Double getArrivalMoney() {
		return arrivalMoney;
	}

	public void setArrivalMoney(Double arrivalMoney) {
		this.arrivalMoney = arrivalMoney;
	}

	@ExcelField(title="审核时间", align=2, sort=8)
	public String getExamineTime() {
		return examineTime;
	}

	public void setExamineTime(String examineTime) {
		this.examineTime = examineTime;
	}

	public Member getManager() {
		return manager;
	}

	public void setManager(Member manager) {
		this.manager = manager;
	}

	public Date getBeginCreateDate() {
		return beginCreateDate;
	}

	public void setBeginCreateDate(Date beginCreateDate) {
		this.beginCreateDate = beginCreateDate;
	}

	public Date getEndCreateDate() {
		return endCreateDate;
	}

	public void setEndCreateDate(Date endCreateDate) {
		this.endCreateDate = endCreateDate;
	}
}